﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace Minestorm.Evolved.Assets
{
    public class SolidColorEffect : CustomEffect
    {
        public Color Color { get { return GetColor("Color"); } set { Set("Color", value); } }
        public Vector3 CameraPosition { get { return GetVector3("CameraPosition"); } set { Set("CameraPosition", value); } }

        public static implicit operator SolidColorEffect(Effect effect)
        {
            return CastTo<SolidColorEffect>(effect, Effects.Basic);
        }
    }
}
